/*
 * Copyright (c) 2006-2021, Ulandlink Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-09-18     lfz         first version
 */
#include <rtthread.h>
#include "app_ocpp_mgnt_srv.h"
#include "app_websocket_mgnt_srv.h"

#define LOG_TAG                    "ocpp.tack"
#define LOG_LVL                    LOG_LVL_INFO
#include "ulog.h"
    
int32_t app_ocpp_tack(void)
{	
	if (app_websocket_mgnt_init() != RT_EOK) {
		LOG_E("ocpp websocket init fail.");
		return -RT_ERROR;	
	}	
	
	
    if (app_ocpp_mgnt_init() != RT_EOK){ 
        LOG_E("ocpp mgnt init fail.");
        return -RT_ERROR;
    }
    
	return RT_EOK;
}
INIT_APP_EXPORT(app_ocpp_tack);

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
